home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 7
/
Amiga Format AFCD07 (Dec 1996, Issue 91).iso
/
serious
/
shareware
/
programming
/
aros
/
intuition
/
setattrsa.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-12
|
2KB
|
75 lines
/*
(C) 1995-96 AROS - The Amiga Replacement OS
$Id: setattrsa.c,v 1.1 1996/08/28 17:55:36 digulla Exp $
$Log: setattrsa.c,v $
Revision 1.1 1996/08/28 17:55:36 digulla
Proportional gadgets
BOOPSI
Desc:
Lang: english
*/
#include <clib/alib_protos.h>
#include "intuition_intern.h"
/*****************************************************************************
NAME */
#include <intuition/classusr.h>
#include <clib/intuition_protos.h>
__AROS_LH2(ULONG, SetAttrsA,
/* SYNOPSIS */
__AROS_LHA(APTR , object, A0),
__AROS_LHA(struct TagItem *, tagList, A1),
/* LOCATION */
struct IntuitionBase *, IntuitionBase, 108, Intuition)
/* FUNCTION
Changes several attributes of an object at the same time. How the
object interprets the new attributes depends on the class.
INPUTS
object - Change the attributes of this object
tagList - This is a list of attribute/value-pairs
RESULT
Depends in the class. For gadgets, this value is non-zero if
they need redrawing after the values have changed. Other classes
will define other return values.
NOTES
This function sends OM_SET to the object.
EXAMPLE
BUGS
SEE ALSO
NewObject(), DisposeObject(), GetAttr(), MakeClass(),
"Basic Object-Oriented Programming System for Intuition" and
"boopsi Class Reference" Dokument.
INTERNALS
HISTORY
29-10-95 digulla automatically created from
intuition_lib.fd and clib/intuition_protos.h
*****************************************************************************/
{
__AROS_FUNC_INIT
__AROS_BASE_EXT_DECL(struct IntuitionBase *,IntuitionBase)
struct opSet ops;
ops.MethodID = OM_SET;
ops.ops_AttrList = tagList;
ops.ops_GInfo = NULL;
return (DoMethodA (object, (Msg)&ops));
__AROS_FUNC_EXIT
} /* SetAttrsA */